<page-header [autoTitle]="false"></page-header>
<nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
<nz-card [nzBordered]="false" *ngIf="!isLoading">
  <nz-card [nzBordered]="false" style="background: #fafafa;transition: background .3s ease;text-align: left; color: rgba(0,0,0,.85);font-weight: 500;border-bottom: 1px solid #e8e8e8;">
    <nz-row nzGutter="16">
      <nz-col nzLg="6" nzMd="12" nzSm="24">
        配置项名称
      </nz-col>
      <nz-col [nzXl]="{span:8, offset:2}" [nzLg]="{span:10}" [nzMd]="{span:12}" nzSm="24">
        配置值
      </nz-col>
      <nz-col [nzXl]="{span:4, offset:4}" [nzLg]="{span:8}" [nzMd]="{span:24}" nzSm="24">
        操作
      </nz-col>
    </nz-row>
  </nz-card>

  <ng-container *ngFor="let param of page.content;let i = index;">
    <base-form [params]="page.content" [index]="i" (entityChanges)="entityChanges($event)"></base-form>
  </ng-container>

</nz-card>
